package com.gan.simple_init.quartz.util;

import lombok.Getter;

/**
 * @description 定时任务状态枚举类
 * @author gbw
 **/
@Getter
public enum JobStatusEnum {

    UN_VALID("100", "任务失效"),
    RUNNING("101", "运行中"),
    PAUSE("102", "暂停中");

    private final String code;
    private final String info;

    JobStatusEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
